package com.caiyouxi.finance.model;


import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * 券详情
 *
 * Created by Administrator on 2017/10/18.
 */
public class Coupons extends QueryParams implements Serializable {

    private Integer id;                //流水编号
    private String serial;//券编号
    private String code;//券安全码
    private String password;//密码
    private String status;//状态
    private Integer batch_id;//批次编号
    private String batch_num;//批次号
    private Date start_time;//生效时间
    private Date expire_time;//失效时间
    private Integer bind_user_id;//绑定的用户。如果为0则表示未绑定
    private Date bind_time;//绑定时间
    private Date used_time;//使用限制时间
    private BigInteger trade_id;//被使用的交易明细记录编号
    private Integer wasted;//如果该券被使用后，浪费的金额
    private String title;//券名称
    private Integer face_value;//面额

    private String start_format_time;//生效时间
    private String expire_format_time;//失效时间

    public String getStart_format_time() {
        return start_format_time;
    }

    public void setStart_format_time(String start_format_time) {
        this.start_format_time = start_format_time;
    }

    public String getExpire_format_time() {
        return expire_format_time;
    }

    public void setExpire_format_time(String expire_format_time) {
        this.expire_format_time = expire_format_time;
    }

    public Integer getFace_value() {
        return face_value;
    }

    public void setFace_value(Integer face_value) {
        this.face_value = face_value;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getBatch_id() {
        return batch_id;
    }

    public void setBatch_id(Integer batch_id) {
        this.batch_id = batch_id;
    }

    public String getBatch_num() {
        return batch_num;
    }

    public void setBatch_num(String batch_num) {
        this.batch_num = batch_num;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public Date getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(Date expire_time) {
        this.expire_time = expire_time;
    }

    public Integer getBind_user_id() {
        return bind_user_id;
    }

    public void setBind_user_id(Integer bind_user_id) {
        this.bind_user_id = bind_user_id;
    }

    public Date getBind_time() {
        return bind_time;
    }

    public void setBind_time(Date bind_time) {
        this.bind_time = bind_time;
    }

    public Date getUsed_time() {
        return used_time;
    }

    public void setUsed_time(Date used_time) {
        this.used_time = used_time;
    }

    public BigInteger getTrade_id() {
        return trade_id;
    }

    public void setTrade_id(BigInteger trade_id) {
        this.trade_id = trade_id;
    }

    public Integer getWasted() {
        return wasted;
    }

    public void setWasted(Integer wasted) {
        this.wasted = wasted;
    }
}
